package com.info.zhiduoduo.repository.entity.partner;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("zdd_partner_share_img")
public class PartnerShareImg extends Model<PartnerShareImg> {

	@TableId(value = "partnerid", type = IdType.INPUT)
	private Integer partnerid;
	private String name;
	private String imgpath;
	private Date createtime;

	@Override
	protected Serializable pkVal() {
		return partnerid;
	}
}
